'''
Created on Dec 14, 2011

@author: marcosvariz
'''

import matplotlib.pyplot as plt

class InfoPlot:
    def __init__(self,T):
        self.listT = []
        self.T = T
        
    def add(self,x):
        if len(self.listT) >= self.T:
            self.listT.pop(0)
        self.listT.append(x)
    
    def gerarPlot(self):
        #plt.plot(range(len(self.listT)),self.listT)
        #plt.show()
        print 'www'